<template>
  <div id="app">
    <!--    该标签等价于a标签，to等价与a标签中的href属性-->
<!--    <router-link to="/home">首页</router-link>-->
<!--    <br>-->
<!--    <router-link to="/User">学生管理</router-link>-->

    <!--    路有视图-->
    <router-view/>
  </div>
</template>

<script>
  import HelloWorld from './components/HelloWorld.vue'

  export default {
    name: 'User',
    components: {
      HelloWorld
    }
  }
</script>

<style>
  #app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 60px;
  }
</style>